﻿using System;
using System.Runtime.Serialization;
using XStudio.Core.Data;

namespace Core.Manage.Product
{
	
	/// <summary>
	/// 实体[视图实体]
	/// </summary>
	[DataContract]
	[Table("QM_GoodsVW")]
	public partial class GoodsVWEntity : EntityObject
	{
    
        #region GoodID
        /// <summary>
        /// GoodID
        /// </summary>
        [DataMember]
        [Column(IsUnique=true,IsPrimaryKey=true,Name = "GoodID", IsNull=false)]
        public int UID {get ; set;}
        //public override int UID {get ; set;}
        #endregion


        #region 生资商标识
        /// <summary>
        /// 生资商标识
        /// </summary>
        [DataMember]
        [Column(Name = "ProductionGoodsID")]
        public int ProductionGoodsID {get ; set;}
        #endregion

        #region 生资类型标识
        /// <summary>
        /// 生资类型标识
        /// </summary>
        [DataMember]
        [Column(Name = "GoodsProductTypeID")]
        public int GoodsProductTypeID {get ; set;}
        #endregion

        #region 生资种类标识
        /// <summary>
        /// 生资种类标识
        /// </summary>
        [DataMember]
        [Column(Name = "ProductTypeID")]
        public int ProductTypeID {get ; set;}
        #endregion
        
        #region ApplyStatus
        /// <summary>
        /// ApplyStatus
        /// </summary>
        [DataMember]
        [Column(Name = "ApplyStatus")]
        public int ApplyStatus {get ; set;}
        #endregion
        
        #region Name
        /// <summary>
        /// Name
        /// </summary>
        [DataMember]
        [Column(Name = "Name")]
        public string Name {get ; set;}
        #endregion
        
        #region Specifications
        /// <summary>
        /// Specifications
        /// </summary>
        [DataMember]
        [Column(Name = "Specifications")]
        public string Specifications {get ; set;}
        #endregion
        
        #region Manufactor
        /// <summary>
        /// Manufactor
        /// </summary>
        [DataMember]
        [Column(Name = "Manufactor")]
        public string Manufactor {get ; set;}
        #endregion
        
        #region Price
        /// <summary>
        /// Price
        /// </summary>
        [DataMember]
        [Column(Name = "Price")]
        public Double Price {get ; set;}
        #endregion
        
        #region ManufactureDate
        /// <summary>
        /// ManufactureDate
        /// </summary>
        [DataMember]
        [Column(Name = "ManufactureDate")]
        public DateTime ManufactureDate {get ; set;}
        #endregion
        
        #region Unit
        /// <summary>
        /// Unit
        /// </summary>
        [DataMember]
        [Column(Name = "Unit")]
        public string Unit {get ; set;}
        #endregion
        
        #region Describe
        /// <summary>
        /// Describe
        /// </summary>
        [DataMember]
        [Column(Name = "Describe")]
        public string Describe {get ; set;}
        #endregion
        
        #region PicAddress
        /// <summary>
        /// PicAddress
        /// </summary>
        [DataMember]
        [Column(Name = "PicAddress")]
        public string PicAddress {get ; set;}
        #endregion
        
        #region ExtField
        /// <summary>
        /// ExtField
        /// </summary>
        [DataMember]
        [Column(Name = "ExtField")]
        public string ExtField {get ; set;}
        #endregion

        #region 生资种类名称
        /// <summary>
        /// 生资种类名称
        /// </summary>
        [DataMember]
        [Column(Name = "TypeName")]
        public string TypeName {get ; set;}
        #endregion

        #region 生资类型名称
        /// <summary>
        /// 生资类型名称
        /// </summary>
        [DataMember]
        [Column(Name = "ProductName")]
        public string ProductName {get ; set;}
        #endregion

        #region 生资商名称
        /// <summary>
        /// 生资商名称
        /// </summary>
        [DataMember]
        [Column(Name = "ProductionGoodsName")]
        public string ProductionGoodsName {get ; set;}
        #endregion
        
	}
}
